package common;

import java.io.Serializable;
import java.util.Vector;

public class Course implements Serializable {
    private String id;
    private String name;
    private String teacherId;
    private String teacherName;
    private String description;
    private String code;
    private Vector<User> student;
    private Vector<Select> selectTask;
    private Vector<Topic> topicTask;
    public Course(String id, String name, String teacherId,String teacherName,String code,String description,Vector<User> student) {
        this.id = id;
        this.name = name;
        this.teacherId = teacherId;
        this.teacherName=teacherName;
        this.code=code;
        this.description=description;
        this.student=student;
    }
    public Course(String id, String name, String teacherId, String teacherName,String description) {
        this.id = id;
        this.name = name;
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.description=description;
    }
    //创建课程用 构造函数
    public Course(String name,String teacherId,String teacherName,String description,int build){
        this.name=name;
        this.teacherId=teacherId;
        this.teacherName=teacherName;
        this.description=description;
    }
    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public String getCode() {
        return code;
    }
    public String getDescription() {
        return description;
    }
    public Vector<User> getStudent() {
        return student;
    }
    public void setStudent(Vector<User> student) {
        this.student = student;
    }

    public Vector<Select> getSelectTask() {
        return selectTask;
    }
    public void setSelectTask(Vector<Select> selectTask) {
        this.selectTask = selectTask;
    }
    public Vector<Topic> getTopicTask() {
        return topicTask;
    }
    public void setTopicTask(Vector<Topic> topicTask) {
        this.topicTask = topicTask;
    }
}
